import 'package:flutter/material.dart';
import './app_color_const.dart';

const inputHintStyle = TextStyle(fontSize: 13, color: grayColor);
const inputLabelStyle = TextStyle(fontSize: 13, color: blackColor);
const inputStyle = TextStyle(fontSize: 13, color: blackColor);
const inputHelperStyle = TextStyle(fontSize: 12, color: infoColor);

const itemStyle = TextStyle(fontSize: 13, color: blackColor);
const itemActiveStyle = TextStyle(fontSize: 13, color: primaryColor);

const launchScreenTitleStyle =
    TextStyle(fontSize: 22, fontWeight: FontWeight.w500);

const cardContainerTitleStyle =
    TextStyle(fontSize: 15, fontWeight: FontWeight.w500, color: blackColor);

const cardContainerNormalTitleStyle =
    TextStyle(fontSize: 15, color: blackColor);

const gradientBtnPrimaryLabelTextStyle =
    TextStyle(color: primaryColor, fontSize: 12);
const gradientBtnRedLabelTextStyle = TextStyle(color: redColor, fontSize: 12);
const gradientBtnGreenLabelTextStyle =
    TextStyle(color: greenColor, fontSize: 12);
const gradientBtnGrayLabelTextStyle =
    TextStyle(color: blackColor, fontSize: 12);

const bottomActionSheetCancelBtnStyle =
    TextStyle(color: redColor, fontSize: 16);
const bottomActionSheetTitleStyle = TextStyle(fontSize: 14);
const bottomActionSheetActionStyle =
    TextStyle(color: primaryColor, fontSize: 16);

const formItemValueStyle = TextStyle(color: grayColor);
const formItemLabelStyle = TextStyle(color: blackColor);
const formItemStrutStyle = StrutStyle(forceStrutHeight: true,height: 1.25);

const searchBarHintStyle = TextStyle(color: grayColor, fontSize: 14);
const searchBarInputStyle = TextStyle(color: blackColor, fontSize: 14);

ButtonStyle cancelBtnStyle = ButtonStyle(
  foregroundColor: MaterialStateProperty.resolveWith(
    (states) {
      return redColor;
    },
  ),
  backgroundColor: MaterialStateProperty.resolveWith((states) {
    if (states.contains(MaterialState.pressed)) {
      return redTransparentColor5;
    }
    return null;
  }),
  overlayColor: MaterialStateProperty.all(redTransparentColor4),
);

const borderStyle = BorderSide(color: borderColor1, width: 0.5);

const dataListContainerReloadTxtStyle = TextStyle(color: primaryColor);
